# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(TransferObiecteInventar)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Transfer_SRCS transferplugin.cpp transfer.cpp transferdescarcare.cpp transferdescarcarespinboxdelegate.cpp transferdescarcarepreturimodel.cpp)
QT4_WRAP_CPP(Transfer_SRCS transferplugin.h transfer.h transferdescarcare.h transferdescarcarespinboxdelegate.h transferdescarcarepreturimodel.h)
QT4_WRAP_UI(Transfer_SRCS transfer.ui transferdescarcare.ui setarireper.ui)
QT4_ADD_RESOURCES(Transfer_SRCS transfer.qrc)

add_library(TransferObiecteInventar SHARED ${Transfer_SRCS})
add_dependencies(TransferObiecteInventar KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(TransferObiecteInventar KontAMabil ${QT_LIBRARIES})

install(TARGETS TransferObiecteInventar ${INSTALL_PLUGINS_DEFAULT_ARGS})
